package com.project.zsxd.server.permission.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.project.zsxd.server.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 权限信息表
 * </p>
 *
 * @author kaler
 * @since 2020-09-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_permission")
public class Permission extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 权限代码
     */
    @TableId
    private String code;

    /**
     * 权限名称
     */
    private String name;

    private String createdBy;

    private Date createdTime;

    private String updatedBy;

    private Date updatedTime;


}
